/**
 * 
 */
package com.cchr.acms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cchr.acms.dao.ActionDAO;
import com.cchr.acms.model.Action;
import com.cchr.acms.service.ActionService;

/**
 * @author Zeng
 *
 */
@Service
public class ActionServiceImpl implements ActionService{
 
    @Autowired
    private ActionDAO actionDAO;

	public List<Action> getAllAction() 
	{
		return actionDAO.getAllAction();
	}

	public Action getActionById(long id) 
	{
		return actionDAO.getActionById(id);
	}
}
